package com.daye.homework.bean;

import java.io.Serializable;

public class Class implements Serializable {
    //id
    private int id;
    //班级名称
    private String className;
    //年级
    private int grade;
    //班主任名称
    private String teacherName;
    //班级口号
    private String catchword;
    //班级人数
    private int peopleNum;

    public Class(String className, int grade, String teacherName, String catchword) {
        this.className = className;
        this.grade = grade;
        this.teacherName = teacherName;
        this.catchword = catchword;
    }

    @Override
    public String toString() {
        return "Class{" +
                "id=" + id +
                ", className='" + className + '\'' +
                ", grade=" + grade +
                ", teacherName='" + teacherName + '\'' +
                ", catchword='" + catchword + '\'' +
                ", peopleNum=" + peopleNum +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getCatchword() {
        return catchword;
    }

    public void setCatchword(String catchword) {
        this.catchword = catchword;
    }

    public int getPeopleNum() {
        return peopleNum;
    }

    public void setPeopleNum(int peopleNum) {
        this.peopleNum = peopleNum;
    }

    public Class() {
    }

}
